---
layout: default
tab: blog
unique_id: blogpage
---
#banner
  #text
    Blog
#post-navigation
  .post-navigation
    #post-nav-previous
      .previous
        - if page.previous_post
          .label
            previous post
          .nav-link
            %a{:href => page.previous_post.url}= page.previous_post.title
    #post-nav-next
      .next
        - if page.next_post
          .label
            next post
          .nav-link
            %a{:href => page.next_post.url}= page.next_post.title
#core-page
.post
  %h1.title 
    #{page.title}
  .byline
    .author
      by
      /there is only one author per page but the author splitter adds an array here
      %a{:href=>page.author[0].primary_page.url} #{page.author[0]}
    .date
      = page.date.strftime('%d %b %Y')
    .tags
      - page.tags.each do |tag|
        %a{:href=>tag.primary_page.url}
          = tag
  .body
    ~ content
    = page.disqus_comments
  
